package com.qfedu.proxy;

/**
 * @Classname NvMishu
 * @Description TODO
 * @Date 2025-10-10 14:50
 * @Created by 老任与码
 */
// 代理
public class NvMishu implements MeetInterface {
    // 目标对象的引用
    private MeetInterface target;

    public NvMishu(MeetInterface target) {
        this.target = target;
    }

    @Override
    public void notice() {
        System.out.println("老板发布最新通知：");
        target.notice();
    }
}
